-- GENERATED SPELL FOR [Pyrewood Watcher] --


function spell0_1891(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1891', 567, 1)
end

function Sorts_1891(pUnit, Event)
local choix_sorts_1891 = math.random(0, 0)
if choix_sorts_1891 == 0 then
pUnit:RegisterEvent('spell0_1891', 1, 1)
end
end

function mob1891_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1891', math.random(1500, 3000), 1)
end

function mob1891_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1891_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1891_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1891, 1, 'mob1891_Action')
RegisterUnitEvent(1891, 2, 'mob1891_Leave')
RegisterUnitEvent(1891, 3, 'mob1891_Kill')
RegisterUnitEvent(1891, 4, 'mob1891_Die')
